import { Http } from "../utils/http";

class Home {
  static async GetDataList(data) {
    return await Http.request({
      url: `Furniture_Manage/J_demand/GetDataList`,
      method: "post",
      data
    });
  }

  static async SaveData(data) {
    return await Http.request({
      url: "Furniture_Manage/J_demand/SaveData",
      method: "post",
      data
    });
  }

  static async SubmitLogin(data) {
    return await Http.request({
      url: "Furniture_Manage/J_user/SubmitLogin",
      method: "post",
      data
    });
  }
}

export { Home };
